package com.shrcl.engineerprocess.domain;

import com.shrcl.engineerprocess.domain.CorpWeChatUser;
import edu.fudan.mylang.pf.IDAOService;
import org.eclipse.xtext.xbase.lib.Procedures.Procedure1;

public interface CorpWeChatUserDAO extends IDAOService<CorpWeChatUser> {
  public abstract CorpWeChatUser findActiveWeChatUser(final String wechatuserid);
  
  public abstract CorpWeChatUser findWeChatUser(final String wechatuserid);
  
  public abstract CorpWeChatUser create(final Procedure1<? super CorpWeChatUser> init);
}
